#include <iostream>
#define maxn 100005
using namespace std;

int cnt[maxn];

int main()
{
    freopen("duel.in", "r", stdin);
    freopen("duel.out", "w", stdout);
    ios::sync_with_stdio(false); cin.tie(nullptr);
    int n;
    cin >> n;
    int maxx = 0;
    while(n--)
    {
        int x;
        cin >> x;
        cnt[x] ++;
        if(x > maxx) maxx = x;
    }
    int l = 0;
    for(int i=maxx; i>0; i--)
    {
        int cur = cnt[i];
        if(cur > l) l += cur - l;
    }
    cout << l << endl;
    return 0;
}